home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2719 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.ifm.liu.se!d93marbl
  2. From: d93marbl@isy.liu.se (Martin Blom)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Passing arguments to a thread
  5. Date: 4 Feb 1996 11:43:32 GMT
  6. Message-ID: <4f2654$aqg@newsy.ifm.liu.se>
  7. References: <4ed1eq$nfi@newsy.ifm.liu.se> <4eo28c$im3@tuegate.tue.nl>
  8. NNTP-Posting-Host: mut.isy.liu.se
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. X-Newsreader: NN version 6.5.0 #26 (NOV)
  13.  
  14. buex95a@asterix.urc.tue.nl (Marcel van Kervinck) writes:
  15.  
  16. >I usually pass arguments to a new task on it's new stack.
  17. >I have to allocate that stack anyway, so there is no harm
  18. >in setting up a stackframe. I even go as far as passing
  19. >execbase around this way. I mentioned this before in this
  20. >group. It seems more elegant than using that ugly $4 fetch.
  21.  
  22. Seem like a nice solution! But how do I use an own stack with
  23. CreateNewProc()?
  24. --
  25.  +--------- Martin 'Leviticus' Blom ----------+    Commodore 128D 
  26.  | Linkoping Institute of Technology - Sweden |    Amiga 4000/040
  27.  +----------- lcs@lysator.liu.se -------------+
  28.                                   http://www.lysator.liu.se/~lcs/
  29.